package com.kaigao.demo.dao.mapper;

import com.kaigao.demo.dao.model.SanGuoUserDo;
import com.kaigao.demo.dao.model.SanGuoUserDoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SanGuoUserDoMapper {
    long countByExample(SanGuoUserDoExample example);

    int deleteByExample(SanGuoUserDoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SanGuoUserDo record);

    int insertSelective(SanGuoUserDo record);

    List<SanGuoUserDo> selectByExample(SanGuoUserDoExample example);

    SanGuoUserDo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SanGuoUserDo record, @Param("example") SanGuoUserDoExample example);

    int updateByExample(@Param("record") SanGuoUserDo record, @Param("example") SanGuoUserDoExample example);

    int updateByPrimaryKeySelective(SanGuoUserDo record);

    int updateByPrimaryKey(SanGuoUserDo record);
}